import { createApp } from 'vue'
import App from './App.vue'
import store from '@/store/index.js'

import * as ELMICON from '@element-plus/icons-vue'
import { createPinia } from 'pinia'
import router from '@/router/index.js'
const app = createApp(App)
// 把icon组件注册到实例上
for (let name in ELMICON) {
  app.component(name, ELMICON[name])
}
app.use(createPinia()).use(router).mount('#app')
